package com.wuwei.controller;

import com.wuwei.pojo.CommonResult;
import com.wuwei.pojo.Payment;
import com.wuwei.service.FeignFallBackService;
import com.wuwei.service.FeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: TestController <br>
 * @date: 2021/2/22 22:18 <br>
 * @author: wuwei666 <br>
 * @version: 1.0 <br>
 */
@RestController
public class TestController {
    @Autowired
    private FeignService feignService;

    @GetMapping("/consumer/{id}")
    public CommonResult<Payment> commonResult(@PathVariable("id") Long id){
        return null;
    }
}
